home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v7n21.arc / LOG.DOC < prev    next >
Text File  |  1988-11-14  |  2KB  |  45 lines

  1.  
  2. LOG.COM
  3. Command
  4.  
  5. Jeff Prosise
  6. 1988 No. 21 (Utilities)
  7.  
  8.  
  9. Purpose:    A memory-resident utility that automatically maintains a record
  10. of computer activity suitable for tax records, client billings, and use-
  11. analysis.
  12.     
  13. Format:    LOG [filespec] [/U]
  14.     
  15. Remarks:    Entered without the optional filespec parameter, LOG opens a
  16. file named USAGE.LOG in the root directory of the current drive.  The user may
  17. over-ride any or all of the drive, path, and filename defaults by supplying his
  18. desired parameters as the filespec option when LOG is initially run.   Although
  19. it can be executed from the DOS prompt, LOG is normally loaded by being included
  20. as a line in an AUTOEXEC.BAT file.  Provided it is either the only or the last
  21. memory-resident program loaded, LOG can be uninstalled by executing the command
  22. with the /U parameter.
  23.  
  24.     After listing the date, LOG files provide a single-line columnar display
  25. of start, end, and elapsed times for each program run.  The program name and any
  26. parameters entered with it are also logged, as is the "level" of DOS activity. 
  27. The original DOS level is 0; a program running under DOS is level 1; invoking a
  28. secondary copy of COMMAND.COM by shelling out from the program to DOS,
  29. represents level 2, etc.  LOG can track up to 10 levels of DOS activity.  Time
  30. spent at the DOS prompt is identified as <idle>.  LOG does not record the use of
  31. internal DOS commands (DIR, CD, REN, for example), nor command calls that fail
  32. ("Bad command or filename").  LOG produces pure ASCII files that can be TYPE'd
  33. to the screen or to a printer and that can be used with a browse utility or text
  34.  editor.
  35.  
  36.     Available for downloading from PC MagNet (see the LOG by Modem sidebar),
  37. LOG.COM is already compiled and ready to run.  LOG.BAS will automatically create
  38. LOG.COM when run once in BASIC.  To create LOG.COM from the LOG.ASM source code
  39. requires use of a macro assembler (IBM or Microsoft, Version 2 or later) and the
  40. following commands:
  41.  
  42.         MASM LOG;
  43.     LINK LOG;
  44.     EXE2BIN LOG LOG.COM
  45.